<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
  let d = document.createElement("div");
  d.innerText = "我是div"
  document.body.appendChild(d);

  let h1 = document.createElement("h1");
  let h2 = document.createElement("h2");
  h1.innerText = "这是h1";
  h2.innerText = "这是h2";
  document.body.append(h1,h2);

  for (let j = 0; j < 3; j++) {
    let  i = document.createElement("img");
    i.src = "../0076LQCyly1h1kmn3mjw0j335s1s07wh.jpg";
    document.body.append(i);
  }



</script>
</body>
</html>